/**
 * AI角色管理API
 */

import { http } from '@/utils/request'
import type { Character, CharacterStatus, ApiResponse } from '@/types'

// 获取角色列表
export const getCharacters = () => 
  http.get<Character[]>('/ai-characters?isActive=true')

// 获取角色详情
export const getCharacterDetail = (id: number) => 
  http.get<Character>(`/ai-characters/${id}`)

// 获取角色状态
export const getCharacterStatus = (id: number) => 
  http.get<CharacterStatus>(`/ai-characters/status/${id}`)

